package com.achievement.service;

import com.achievement.domain.dto.honor.ReviewPlanDTO;
import com.achievement.domain.entity.ReviewPlanEntity;
import com.achievement.domain.param.honor.ReviewPlanParam;
import com.achievement.domain.vo.honor.ReviewPlanBookExpertNumVO;
import com.achievement.domain.vo.honor.ReviewPlanVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

public interface IReviewPlanService extends IService<ReviewPlanEntity> {
    List<ReviewPlanBookExpertNumVO> reviewPlanBookExpertNumByPage(ReviewPlanParam param);

    /**
     * 评审计划左上方统计
     * @param param
     * @return
     */
    List<HashMap<String, Integer>> listStatistics(ReviewPlanParam param);
    List<ReviewPlanEntity> getListByConditions(ReviewPlanDTO ReviewPlanDTO);
    ReviewPlanVO getInfoById(String id);
    List<String> getApplyInfoIds();
    boolean add(ReviewPlanDTO dto);

    boolean update(ReviewPlanDTO dto);

    boolean batchRemove(List<String> ids);

    /**
     * 更新评审计划状态
     * @param dto
     * @return
     */
    boolean updateStatusById(ReviewPlanDTO dto);



}
